import request from '@/utils/request'

// 查询车辆日志记录列表
export function listParkingCarLog(query) {
  return request({
    url: '/system/parkingCarLog/list',
    method: 'get',
    params: query
  })
}

// 查询车辆日志记录详细
export function getParkingCarLog(id) {
  return request({
    url: '/system/parkingCarLog/' + id,
    method: 'get'
  })
}

// 新增车辆日志记录
export function addParkingCarLog(data) {
  return request({
    url: '/system/parkingCarLog',
    method: 'post',
    data: data
  })
}

// 修改车辆日志记录
export function updateParkingCarLog(data) {
  return request({
    url: '/system/parkingCarLog',
    method: 'put',
    data: data
  })
}

// 删除车辆日志记录
export function delParkingCarLog(id) {
  return request({
    url: '/system/parkingCarLog/' + id,
    method: 'delete'
  })
}

// 导出车辆日志记录
export function exportParkingCarLog(query) {
  return request({
    url: '/system/parkingCarLog/export',
    method: 'get',
    params: query
  })
}